<#include "/includes/header.ftl">


<div id='productlist_brands'>
	<#include "/includes/leftbar.ftl">
</div>

<div id='productlist_contents'>
  <form name="edit_store_profile" action='<@spring.url "/registercouponitem.php"/>' method="post" onsubmit="return check_form(create_account);">
    <@spring.bind "command.couponItem.coupon.sysId" />
    <#assign cpsid= spring.status.value>
    <INPUT type='hidden' name='cpsid' value='${cpsid}'>
		<div><b>Register My Coupon Item</b></div>
		<div class="label">coupon Id:</div>
		<div>
	          <@spring.bind "command.couponItem.coupon.id" />
	          ${spring.status.value?default("")}
		</div>
		
		<div class="label">coupon Name:</div>
		<div>
	          <@spring.bind "command.couponItem.coupon.name" />
	          <A href='<@spring.url "/viewcoupondetail.jsp?cpsid=${cpsid}"/>'>${spring.status.value?default("")}</A>
		</div>
		
		<div class="label">coupon Full Name:</div>
		<div>
	          <@spring.bind "command.couponItem.coupon.fullName" />
	          ${spring.status.value?default("")}
		</div>
		
		
		<div class="label">coupon Item Id:</div>
		<div>
	          <@spring.bind "command.couponItem.id" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Lottery Number 0:</div>
		<div>
	          <@spring.bind "command.couponItem.lotteryNumber0" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>(format: 11 22 33 44 55)
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Lottery Number 1:</div>
		<div>
	          <@spring.bind "command.couponItem.lotteryNumber1" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Lottery Number 2:</div>
		<div>
	          <@spring.bind "command.couponItem.lotteryNumber2" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Lottery Number 3:</div>
		<div>
	          <@spring.bind "command.couponItem.lotteryNumber3" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Lottery Number 4:</div>
		<div>
	          <@spring.bind "command.couponItem.lotteryNumber4" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Lottery Number 5:</div>
		<div>
	          <@spring.bind "command.couponItem.lotteryNumber5" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="16" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Short Desc:</div>
		<div>
	          <@spring.bind "command.couponItem.shortDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="3">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Notes:</div>
		<div><font color='red'>Please input data very carefully, you can not edit it after save!</font>
		</div>
		
		
		<div class="label"></div>
		<div>
	    <input type="submit" name="Submit" value="保存" />
		</div>
	</form>		
</div>

<#include "/includes/footer.ftl">